#!/usr/bin/env python
# coding=utf-8
'''
FilePath     : /paddleocr_rec/setup.py
Description  :  
Author       : desyang
Date         : 2025-03-06 15:03:29
LastEditors  : desyang
LastEditTime : 2025-03-06 16:07:14
'''
#!/usr/bin/env python
# coding=utf-8

from setuptools import setup, find_packages

def read_requirements():
    with open('requirements.txt', 'r', encoding='utf-8') as f:
        return f.read().splitlines()

setup(
    name='paddleocr',  # 项目的名称
    version='0.1.0',  # 项目的版本号
    author='desyang',  # 作者
    author_email='desyang@qq.com',  # 作者邮箱
    packages=find_packages(),  # 自动发现包
    description='A short description of the project',  # 项目简短描述
    long_description=open('README.md', encoding='utf-8').read(),  # 项目详细描述
    long_description_content_type='text/markdown',  # 详细描述的内容类型
    include_package_data=True,  # 包含其他非Python文件，如权重文件
    # url='https://github.com/yourusername/paddleocr_rec',  # 项目的主页
    install_requires=read_requirements(),  # 从 requirements.txt 文件读取依赖
    classifiers=[
        'Programming Language :: Python :: 3',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
    ],
    python_requires='>=3.8',  # Python 版本要求
)